<template>
  <div>
    <el-container style="height: 100%">
      <el-aside style="width:auto">
        <common-aside></common-aside>
      </el-aside>
      <el-container>
        <el-header>
          <common-header></common-header>
        </el-header>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
// @ is an alias to /src
import CommonAside from "@/components/CommonAside.vue";
import CommonHeader from '@/components/CommonHeader.vue';

export default {
  name: "Main",
  components: {
    CommonAside,
    CommonHeader
  },
};
</script>
<style scoped>
.el-header {
  background-color: #333;
  padding: 0;
}
.el-aside::-webkit-scrollbar {
  display: none;
}
.el-main{
  background-color: pink;
}
</style>
